function [ d ] = my_dist( a, b )
    x = (b(1) - a(1))^2;
    y = (b(2) - a(2))^2;
    d = sqrt(x+y);
end

